/*  css reset 
    css inherit
*/
html{
    color: #111;
    background: #fff;
}
/*性能优化，代替*  */
body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote {
    margin: 0;
    padding: 0;
}

body, td, th {
    font: 12px Helvetica,Arial,sans-serif;
    line-height: 1.62;
}

body{
    margin-top: 0;
}

body {
    margin: 0;
}

html body, html td, html th, html .pl, html input {
    font-size: 13px;
}

#db-global-nav {
    font: 12px Helvetica,Arial,sans-serif;
    line-height: 1.62;
    font-size: 12px;
    height: 28px;
    color: #d5d5d5;
    background-color: #545652;
    min-width: 950px;
}

#db-global-nav .top-nav-info {
    float: right;
    margin: 0 12px 0 0;
    line-height: 28px;
}

#db-global-nav .top-nav-doubanapp {
    position: relative;
    float: right;
    margin-right: 25px;
    line-height: 28px;
}

#db-global-nav .global-nav-items {
    font-size: 0;
}

ul{
    list-style: none;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#db-global-nav ul {
    margin: 0;
    padding: 0;
}

#db-global-nav .global-nav-items li {
    display: inline-block;   /*天生的bug,会带来一些间隙*/
    display: inline;
    zoom: 1;
    line-height: 28px;
    font-size: 12px;
    vertical-align: baseline;
}

a:link {
    color: #37a;
    text-decoration: none;
    cursor: pointer;
}

#db-global-nav .global-nav-items li {
    display: inline-block;
    *display: inline;
    zoom: 1;
    line-height: 28px;
    font-size: 12px;
    vertical-align: baseline;
}

#db-global-nav .global-nav-items a {
    display: inline-block;
    display: inline;
    zoom: 1;
    padding: 0 12px;
    height: 28px;
}

#db-global-nav a:link, #db-global-nav a:visited, #db-global-nav a:hover, #db-global-nav a:active {
    color: #d5d5d5;
}

#db-global-nav a:hover, #db-global-nav a:active {
    color: #fff;
    background-color: transparent;
}

.nav{
    width: 100%;
    min-width: 1040px;
    overflow: hidden;
    zoom: 1;
    margin-top: 40px;
}

#db-nav-book{
    background: #f6f6f1;
    position: relative;
}

.nav .nav-wrap{
    border-bottom: 1px solid #e5ebe4;
}

#db-nav-book .nav-wrap{
    border-color: #e9e9e2;
}

.nav .nav-primary{
    width: 1040px;
    margin: 0 auto;
    overflow: visible !important;
    position: relative;
    padding: 10px 0 5px;
    zoom: 1;
}

.nav .nav-logo{
    float: left;
    height: 56px;
    width: 145px;
    margin: 0 13px 0 0;
}

#db-nav-book .nav-logo {
    background: url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) no-repeat 0 12px;
    background-image: -webkit-image-set(url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) 1x, url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book@2x.png?s=1) 2x);
    background-image: -moz-image-set(url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) 1x, url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book@2x.png?s=1) 2x);
    background-image: -ms-image-set(url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) 1x, url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book@2x.png?s=1) 2x);
    background-image: -o-image-set(url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) 1x, url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book@2x.png?s=1) 2x);
}

a{
    cursor: pointer;
}

.nav .nav-logo a{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    line-height: 100em;
}

#db-nav-book a:link,#db-nav-book a:link a:visited{
    color: #614e3c;
    text-decoration: none;
}
.nav-search{
    margin-left: 145px;
    overflow: visible !important;
    position: relative;
    zoom: 1;
    padding: 10px 0 15px 0;
}
form{
    display: block;
    margin-top: 0;
    margin: 0;
    padding: 0;
    border: 0px;
}

.nav-search fieldset{
    border: none;
    padding: 0;
    margin: 0;
    position: static;
}

legend {
    display: block;
    padding-inline-start: 2px;
    padding-inline-end: 2px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}
.nav-search legend{
    display: none;
}

fieldset legend{
    color:#666;
    padding: 0 5px;
}

label{
    cursor: default;
    font-family: Tahoma;
    vertical-align: middle;
}

.nav-search label{
    position: absolute;
    left: 11px;
    top: 10px;
    line-height: 30px;
    cursor: text;
    color:#bbb;
    width: auto;
}

.nav-search .inp{
    float:left;
    width: 470px;
    height: 34px;
    text-align: center;
    margin-right: -3px;
    cursor: text;
}

.nav-search .inp{
    background-image: url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/nav_bk_bg.png?s=1);
}

input, button, textarea, select, optgroup, option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

input{
    margin-right: 3px;
    vertical-align: middle;
    font-size: 13px;
}
.nav-search input {
    -webkit-appearance: none;
    border: none;
    background: transparent;
}

.nav-search .inp input{
    background: #fff;
    width: 96%;
    margin: 0;
    text-align: left;
    height: 30px;
    padding-left: 10px;
    height: 20px\9;
    line-height: 20px\9;
    outline: none;
}

.nav-search .inp-btn{
    position: relative;
    left: -1px;
    width: 37px;
    height: 34px;
    zoom: 1;
    overflow: hidden;
}

.nav-search .inp-btn input{
    width: 100%;
    height: 100%;
    font-size: 0;
    padding: 35px 0 0 0;
    overflow: hidden;
    color:transparent;
    cursor: pointer;
}
.nav-search .inp-btn input{
   background: url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/nav_bk_bg.png?s=1) no-repeat 0 -40px;
}
.nav-secondary{
    width: 100%;
    
}

